package com.campus.entity;

import lombok.Data;

import java.util.Date;

@Data
public class PostViews {
    private String viewId;
    private String postId;
    private String userId;
    private Date viewTime;
    
    // Constructors
    public PostViews() {}
    
    public PostViews(String viewId, String postId, String userId, Date viewTime) {
        this.viewId = viewId;
        this.postId = postId;
        this.userId = userId;
        this.viewTime = viewTime;
    }
}